package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public class Store extends Model<Store> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id")
	private String id;
	private String phone;
	private String name;
	/**
	 * 营业执照
	 */
	private String cardZheng;
	private String cardFan;
	/**
	 * 经营范围
	 */
	private String range;
	/**
	 * 店铺地址
	 */
	private String address;
	/**
	 * 0:审核中 1：审核通过
	 */
	private Integer status;
	/**
	 * 商家验证
	 */
	private String time;
	/**
	 * 备份
	 */
	private String notice;

	// 经度
	private String longitude;

	// 纬度
	private String latitude;
	private String userId;

	/**
	 * 拒绝理由
	 * 
	 * @return
	 */
	private String reason;

	@TableField(exist = false)
	private String dinId;

	public String getDinId() {
		return dinId;
	}

	public void setDinId(String dinId) {
		this.dinId = dinId;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCardZheng() {
		return cardZheng;
	}

	public void setCardZheng(String cardZheng) {
		this.cardZheng = cardZheng;
	}

	public String getCardFan() {
		return cardFan;
	}

	public void setCardFan(String cardFan) {
		this.cardFan = cardFan;
	}

	public String getRange() {
		return range;
	}

	public void setRange(String range) {
		this.range = range;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Store{" + "id=" + id + ", phone=" + phone + ", name=" + name + ", cardZheng=" + cardZheng + ", cardFan="
				+ cardFan + ", range=" + range + ", address=" + address + ", status=" + status + ", time=" + time
				+ ", notice=" + notice + "}";
	}
}
